package cn.buildoncloud.labor.workermanapplet.business.modules.services;

import cn.buildoncloud.labor.workermanapplet.common.base.service.BaseService;
import cn.buildoncloud.labor.workermanapplet.common.page.Pagination;

import java.util.List;
import java.util.Map;

public interface WorkerManService extends BaseService<Map> {

    Pagination listPageWorkerMan(String search, int pageNumber, int pageSize, Long pId);

    Map<String, Object> getWorkerMan(Long wId);

    List getWorkerManProject(Long wId, Integer pageNumber, Integer pageSize);

    Integer workerManCount(String idCardNo);

    Map<String, Object> getWorkerManByIdCardNo(String idCardNo);

    Map<String, Object> getWorkerManIdByIdCardNo(String idCardNo);

    Map<String, Object> getWorkerManHeadPhotoById(Long id);

    Map<String, Object> workerManIsEnter(String idCardNo, Long projectId);

    void updateWorkerManIdCard(String idCardNo, String idCardPhotoFront, String idCardPhotoReverse);

    Map<String, Object> getWorkerManTeamproject(Long wId, Long pId);


}
